﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/ContentManageMaster.Master"
    AutoEventWireup="true" CodeBehind="MenuAdd.aspx.cs" Inherits="Omes.Admin.ContentManage.MenuAdd" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <ul id="contentul">
        <li><a id="addmenu" href="MenuAdd.aspx">添加栏目</a></li><li><a id="menulist" href="MenuList.aspx">栏目列表</a></li></ul>
    <table>
        <tr>
            <th colspan="2">
                添加栏目
            </th>
        </tr>
        <tr>
            <td style="width: 20%; background-color: Yellow;">
                栏目名称:
            </td>
            <td>
                <asp:TextBox ID="menuName" runat="server"></asp:TextBox>
            </td>
        </tr>
                <tr>
            <td style="width: 20%; background-color: Yellow;">
                栏目类型:
            </td>
            <td>
                <asp:RadioButtonList ID="menutype" runat="server" TextAlign="Right" RepeatDirection="Vertical"
                    RepeatLayout="Flow">
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td style="width: 20%; background-color: Yellow;">
                父页面选择:
            </td>
            <td>
                <asp:DropDownList ID="parentpage" runat="server" oninit="parentpage_Init">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="width: 20%; background-color: Yellow;">
                是否显示在导航:
            </td>
            <td>
                <asp:RadioButtonList ID="showflag" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
                    <asp:ListItem Value="true">是</asp:ListItem>
                    <asp:ListItem Value="false" Selected="True">否</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td style="width: 20%; background-color: Yellow;">
                打开方式:
            </td>
            <td>
                <asp:RadioButtonList ID="openway" runat="server" TextAlign="Right" RepeatDirection="Horizontal"
                    RepeatLayout="Flow">
                    <asp:ListItem Value="new">新窗口</asp:ListItem>
                    <asp:ListItem Value="old" Selected="True">原窗口</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td style="width: 20%; background-color: Yellow;">
                &nbsp;
            </td>
            <td>
                <asp:Button ID="addmenuButton" runat="server" Text="添加栏目" />
            </td>
        </tr>
    </table>
    <script type="text/javascript">
        $().ready(function () {
            $("#contentul a").click(function () {
                $("#contentul a").removeClass("mousein")
                $("#contentul a").removeClass("mouseinb");
                $("#" + $(this).attr("id")).addClass("mouseinb");
            });
        });
    </script>
</asp:Content>
